<template>
  <view class="content">
     <z-paging ref="paging" v-model="dataList" @query="queryList">
        <!-- z-paging默认铺满全屏，此时页面所有view都应放在z-paging标签内，否则会被盖住 -->
        <!-- 需要固定在页面顶部的view请通过slot="top"插入，包括自定义的导航栏 -->
        <view class="item" v-for="(item,index) in dataList" :key="index">
            <view class="item-title">{{item.itemName}}</view>
        </view>
    </z-paging>
  </view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref } from '@vue/runtime-core';
import { paging, dataList, queryList, setUrl, setQuery } from '@/mixin/z-paging-mixin.js'
setUrl('/biz/home/list')
// setQuery({goodsCode: 'X21136954F'})

onLoad(() => {
	
})
</script>

<style lang="less" scoped>
.item{
	height: 200rpx;
}
</style>
